function loadFeed(sURL, sList, iMax)
{
	iMax = iMax || 7;
	var xhr = new XMLHttpRequest({
    mozSystem: true
   });
   xhr.open('GET', sURL, true);
   xhr.responseType = 'xml';

  xhr.onload = function(e) {
    if (xhr.status === 200 || xhr.status === 0) {

		$(e.target.response).find('item').each(function(index){
						if(index>=iMax)
							return;
						var title = $(this).find("title").text();
						var link = $(this).find("link").text();
						var description = $(this).find("description").text();
						var sItem = '<div data-role="collapsible"  data-collapsed="true"><h2>' + title + '</h2><p>'
							+ description.replace("<p>","<span>").replace("</p>","</span>").replace("<![CDATA["," ").replace("]]>"," ")  
							+ '<a href="' + link + '" data-ajax="false">More...</a>'
							+ '</p></div>'
						$(sList).append( sItem );
					});	
		$(sList).collapsibleset( "refresh" );
	
    }
    else {
		alert("Cannot load feed: " + xhr.status + " " + xhr.statusText);

    }
  }; // onload

	xhr.send();

}